projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e605c9
)
More fixes in tpo teardown; don't double destruct waypoint.
author
robertlipe
<robertlipe@gmail.com>
Sun, 10 Feb 2013 03:37:05 +0000
(
03:37
+0000)
committer
robertlipe
<robertlipe@gmail.com>
Sun, 10 Feb 2013 03:37:05 +0000
(
03:37
+0000)
gpsbabel/tpo.cc
patch
|
blob
|
history
diff --git
a/gpsbabel/tpo.cc
b/gpsbabel/tpo.cc
index 36e87d8dde7c8cb5463a840c28ac0d326cfe906f..58cacdae966c556b84ee709ab3f07a0f18feea8f 100644
(file)
--- a/
gpsbabel/tpo.cc
+++ b/
gpsbabel/tpo.cc
@@
-1354,12
+1354,6
@@
void tpo_process_routes(void)
// Free the waypoint index, we don't need it anymore.
for (ii = 0; ii < tpo_index_ptr; ii++) {
- if (tpo_wp_index[ii]->shortname) {
- xfree(tpo_wp_index[ii]->shortname);
- }
- if (tpo_wp_index[ii]->description) {
- xfree(tpo_wp_index[ii]->description);
- }
waypt_free(tpo_wp_index[ii]);
}